Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 115 kB / 16.42 MB, free: 6.504 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.001818/0.001818, allocations: 190.6 kB / 17.35 MB, free: 5.723 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.57/2.57, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 68.11 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.777, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004124/0.7812, allocations: 2.635 MB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.7836, allocations: 1.578 MB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.7838, allocations: 4 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.7845, allocations: 167.3 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.7849, allocations: 155.3 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.7854, allocations: 195.1 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.7857, allocations: 215.3 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.786, allocations: 121 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.7862, allocations: 87.69 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.7864, allocations: 99.64 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.7865, allocations: 12 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.7868, allocations: 211.6 kB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.7869, allocations: 59.88 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.787, allocations: 83.58 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.7875, allocations: 308.7 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7875, allocations: 4 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7875, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7875, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006622/0.7882, allocations: 473.2 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7882, allocations: 12.03 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.789, allocations: 88.62 kB / 1.215 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.7893, allocations: 236 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7893, allocations: 4.656 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.7893, allocations: 16.38 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.7898, allocations: 303.5 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7899, allocations: 3.938 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.7899, allocations: 8 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.7899, allocations: 16.22 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.7904, allocations: 224.4 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.7922, allocations: 1.595 MB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.7926, allocations: 315.3 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.7927, allocations: 69.67 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.7927, allocations: 4 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.7928, allocations: 34.5 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7928, allocations: 0 / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005544/0.7933, allocations: 252.8 kB / 1.217 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7934, allocations: 81.11 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.7936, allocations: 211.5 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7937, allocations: 33.7 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.7938, allocations: 151.6 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.7938, allocations: 35.45 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.7939, allocations: 49.7 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.794, allocations: 322.8 kB / 1.218 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.7942, allocations: 92.73 kB / 1.218 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.7944, allocations: 152.8 kB / 1.219 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.7947, allocations: 242.9 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7947, allocations: 128 / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004964/0.7952, allocations: 281.1 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7953, allocations: 8 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7953, allocations: 0 / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7953, allocations: 4 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.7956, allocations: 59.83 kB / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.7956, allocations: 4.375 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.7958, allocations: 23.98 kB / 1.219 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.7958, allocations: 11.98 kB / 1.219 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002206/0.7961, allocations: 168.1 kB / 1.219 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001779/0.7963, allocations: 156.8 kB / 1.219 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000274/0.7965, allocations: 219.8 kB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.7965, allocations: 0 / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004294/0.797, allocations: 249.4 kB / 1.22 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.797, allocations: 11.94 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.797, allocations: 4 kB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.797, allocations: 4 kB / 1.22 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7972, allocations: 51.91 kB / 1.22 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7972, allocations: 7.938 kB / 1.22 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.7975, allocations: 27.91 kB / 1.22 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.7975, allocations: 11.94 kB / 1.22 GB, free: 0.9688 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001074/0.7976, allocations: 199.5 kB / 1.22 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.7977, allocations: 19.81 kB / 1.22 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.7979, allocations: 143 kB / 1.22 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7979, allocations: 3.938 kB / 1.22 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7979, allocations: 0 / 1.22 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.798, allocations: 100.9 kB / 1.22 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.7981, allocations: 8 kB / 1.22 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.7983, allocations: 15.97 kB / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.7983, allocations: 15.92 kB / 1.221 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002893/0.7986, allocations: 292.2 kB / 1.221 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002988/0.7989, allocations: 397.7 kB / 1.221 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.698e-05/0.799, allocations: 47.97 kB / 1.221 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001597/0.7992, allocations: 156.1 kB / 1.221 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/0.7992, allocations: 0 / 1.221 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.8002, allocations: 414.6 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008042/0.801, allocations: 0.7656 MB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.008128/0.8092, allocations: 3.945 MB / 1.226 GB, free: 10.41 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches