Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_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.0009552/0.0009552, allocations: 97.48 kB / 15.36 MB, free: 0.7305 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.001089/0.001089, allocations: 172.8 kB / 16.27 MB, free: 6.656 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 14.81 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.283, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002889/0.2859, allocations: 2.324 MB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.288, allocations: 1.465 MB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.2881, allocations: 7.938 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2882, allocations: 27.78 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.2886, allocations: 175.4 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.289, allocations: 135.7 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.2893, allocations: 347.1 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.2899, allocations: 338.7 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.29, allocations: 71.77 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.2902, allocations: 111.6 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.2903, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2906, allocations: 271.4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.2907, allocations: 63.8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.2908, allocations: 109.2 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.2912, allocations: 323.2 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2912, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2912, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2912, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 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.0006018/0.2918, allocations: 459.3 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2919, allocations: 15.95 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2919, allocations: 58.67 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.2925, allocations: 80.56 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.2927, allocations: 224.1 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2927, allocations: 12.7 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.2928, allocations: 16.36 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.2932, allocations: 332 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2933, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2933, allocations: 7.984 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.2933, allocations: 20.27 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.2938, allocations: 256.6 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.2951, allocations: 1.63 MB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.2957, allocations: 411.2 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2959, allocations: 93.77 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.296, allocations: 89.09 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2961, allocations: 30.56 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2961, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0005812/0.2966, allocations: 304.5 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2967, allocations: 81.11 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2968, allocations: 175.9 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2969, allocations: 29.7 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.297, allocations: 147.9 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.297, allocations: 51.28 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.297, allocations: 21.91 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.2971, allocations: 330.8 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2973, allocations: 88.08 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2974, allocations: 146.9 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.2977, allocations: 249.2 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2977, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003701/0.2981, allocations: 275.8 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.2982, allocations: 169.8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2982, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2982, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2985, allocations: 55.89 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2985, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2986, allocations: 19.98 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2986, allocations: 11.94 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.2987, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002911/0.299, allocations: 207.7 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.299, allocations: 7.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.299, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2991, allocations: 47.95 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2992, allocations: 11.88 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2993, allocations: 19.84 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2993, allocations: 12.3 kB / 1.07 GB, free: 8.367 MB / 0.8262 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.0001384/0.2994, allocations: 225 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.2995, allocations: 7.906 kB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.2998, allocations: 199.8 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2998, allocations: 3.938 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2999, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.2999, allocations: 7.984 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.301, allocations: 0.9689 MB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.301, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.3011, allocations: 39.97 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3011, allocations: 4 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3012, allocations: 4 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3012, allocations: 8.375 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3012, allocations: 4 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.3016, allocations: 436.8 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.3017, allocations: 108.9 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3017, allocations: 8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3019, allocations: 15.98 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3019, allocations: 23.86 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.302, allocations: 8 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3021, allocations: 132.7 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004607/0.3025, allocations: 72 kB / 1.073 GB, free: 5.91 MB / 0.8262 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.0006237/0.3032, allocations: 0.9882 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.3036, allocations: 301.5 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3036, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3037, allocations: 85.62 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.3042, allocations: 42.55 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3067, allocations: 2.498 MB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.307, allocations: 0.748 MB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.3072, allocations: 77.5 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.45e-05/0.3073, allocations: 47.42 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3073, allocations: 0 / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.3205, allocations: 3.311 MB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.3208, allocations: 242.8 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.16, allocations: 0 / 1.081 GB, free: 13.45 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches