Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005241/0.005241, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.246/2.246, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5001, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002498/0.5026, allocations: 2.314 MB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.5045, allocations: 1.473 MB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.5046, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.5048, allocations: 27.78 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.5052, allocations: 175.4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.5055, allocations: 143.7 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.5058, allocations: 343.1 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.5063, allocations: 334.8 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.5065, allocations: 75.7 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.5067, allocations: 115.5 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.5067, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.507, allocations: 275.5 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.5071, allocations: 67.81 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.5072, allocations: 101.2 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.5076, allocations: 333.2 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.5076, allocations: 0 / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5076, allocations: 4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.5076, allocations: 0 / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005241/0.5081, allocations: 451.2 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.5081, allocations: 12.03 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.5082, allocations: 54.72 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.5087, allocations: 84.59 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.5089, allocations: 236 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.509, allocations: 12.69 kB / 1.03 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.509, allocations: 16.38 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.5094, allocations: 320.2 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5094, allocations: 3.938 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.5094, allocations: 8 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.5095, allocations: 28.2 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.5098, allocations: 252.6 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.5111, allocations: 1.63 MB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.5117, allocations: 411.2 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5118, allocations: 85.89 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.5119, allocations: 89.03 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5119, allocations: 38.56 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.512, allocations: 0 / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0005287/0.5125, allocations: 304.5 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5125, allocations: 81.3 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5127, allocations: 177.2 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5127, allocations: 25.7 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.5128, allocations: 155.7 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.5128, allocations: 51.3 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.5129, allocations: 21.7 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.5129, allocations: 326.8 kB / 1.033 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.513, allocations: 75.95 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5132, allocations: 154.9 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.5135, allocations: 249.1 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5135, allocations: 7.984 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003379/0.5138, allocations: 265.3 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.5139, allocations: 161.8 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5139, allocations: 4 kB / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5139, allocations: 4 kB / 1.034 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.5141, allocations: 63.89 kB / 1.034 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5142, allocations: 4.156 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.5143, allocations: 15.89 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.5143, allocations: 15.98 kB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.5143, allocations: 4 kB / 1.034 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002659/0.5146, allocations: 211.9 kB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.5146, allocations: 4.062 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.5146, allocations: 4 kB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5148, allocations: 55.91 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5148, allocations: 7.938 kB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.5149, allocations: 7.984 kB / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5149, allocations: 12 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.515, allocations: 221 kB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.5151, allocations: 23.8 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5154, allocations: 212.1 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5154, allocations: 4.125 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5154, allocations: 4 kB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5154, allocations: 3.938 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5164, allocations: 0.9616 MB / 1.036 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5164, allocations: 7.984 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5166, allocations: 31.92 kB / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5166, allocations: 4 kB / 1.036 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5166, allocations: 4 kB / 1.036 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.5166, allocations: 7.984 kB / 1.036 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5166, allocations: 4 kB / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.5169, allocations: 444.8 kB / 1.037 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.517, allocations: 116.8 kB / 1.037 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.517, allocations: 4 kB / 1.037 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5172, allocations: 15.98 kB / 1.037 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.5172, allocations: 19.92 kB / 1.037 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5173, allocations: 8 kB / 1.037 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.87e-05/0.5174, allocations: 131.2 kB / 1.037 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5174, allocations: 0 / 1.037 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000433/0.5178, allocations: 72 kB / 1.037 GB, free: 0.9336 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/0.5183, allocations: 0.9788 MB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.5187, allocations: 312.3 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5187, allocations: 0 / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/0.5188, allocations: 79.77 kB / 1.038 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5193, allocations: 33.77 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5214, allocations: 2.501 MB / 1.041 GB, free: 12.76 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5217, allocations: 0.748 MB / 1.041 GB, free: 11.99 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.5219, allocations: 73.47 kB / 1.042 GB, free: 11.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.522, allocations: 51.41 kB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.522, allocations: 0 / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4433/0.9653, allocations: 3.309 MB / 1.045 GB, free: 8.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.9655, allocations: 239.9 kB / 1.045 GB, free: 8.488 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.674, allocations: 0 / 1.045 GB, free: 8.488 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches