Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 118.8 kB / 16.81 MB, free: 5.758 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.001452/0.001452, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.588/1.588, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.33 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3876, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004267/0.3919, allocations: 2.468 MB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.3949, allocations: 1.593 MB / 1.266 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.395, allocations: 4 kB / 1.266 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.3958, allocations: 175.2 kB / 1.266 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.3963, allocations: 155.4 kB / 1.266 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.3968, allocations: 179.5 kB / 1.267 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.3972, allocations: 223.3 kB / 1.267 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.3975, allocations: 101 kB / 1.267 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.3976, allocations: 87.69 kB / 1.267 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.3979, allocations: 111.6 kB / 1.267 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3979, allocations: 8 kB / 1.267 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.3984, allocations: 219.6 kB / 1.267 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.3984, allocations: 63.81 kB / 1.267 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3986, allocations: 79.53 kB / 1.267 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.399, allocations: 318.8 kB / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.399, allocations: 0 / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.399, allocations: 4 kB / 1.268 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3991, allocations: 0 / 1.268 GB, free: 7.148 MB / 0.9825 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.000815/0.3999, allocations: 482.7 kB / 1.268 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3999, allocations: 12.62 kB / 1.268 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.4008, allocations: 80.73 kB / 1.268 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.4011, allocations: 236 kB / 1.268 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4011, allocations: 8.656 kB / 1.268 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.4011, allocations: 24.36 kB / 1.268 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4017, allocations: 288.2 kB / 1.269 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4017, allocations: 0 / 1.269 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.4017, allocations: 8 kB / 1.269 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.4018, allocations: 20.22 kB / 1.269 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.4022, allocations: 224.4 kB / 1.269 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.4043, allocations: 1.595 MB / 1.271 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.4048, allocations: 311.2 kB / 1.271 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.4049, allocations: 61.69 kB / 1.271 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4049, allocations: 7.984 kB / 1.271 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.405, allocations: 34.56 kB / 1.271 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.405, allocations: 0 / 1.271 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006398/0.4056, allocations: 245.1 kB / 1.271 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.4057, allocations: 85.05 kB / 1.271 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.4059, allocations: 211.5 kB / 1.271 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.406, allocations: 29.7 kB / 1.271 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4061, allocations: 163.9 kB / 1.272 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.4061, allocations: 31.75 kB / 1.272 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.4062, allocations: 53.64 kB / 1.272 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4064, allocations: 326.8 kB / 1.272 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4065, allocations: 72.81 kB / 1.272 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.4068, allocations: 159.1 kB / 1.272 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.4071, allocations: 250.8 kB / 1.272 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4071, allocations: 4 kB / 1.273 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005288/0.4076, allocations: 265.3 kB / 1.273 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4077, allocations: 8 kB / 1.273 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4077, allocations: 4 kB / 1.273 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4077, allocations: 4 kB / 1.273 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.408, allocations: 59.84 kB / 1.273 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.408, allocations: 11.92 kB / 1.273 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4083, allocations: 24.3 kB / 1.273 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.4083, allocations: 8 kB / 1.273 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002405/0.4085, allocations: 174.2 kB / 1.273 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002147/0.4088, allocations: 148 kB / 1.273 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000323/0.4091, allocations: 227.7 kB / 1.273 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.4091, allocations: 0 / 1.273 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004799/0.4096, allocations: 253.6 kB / 1.274 GB, free: 468 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.4096, allocations: 8.062 kB / 1.274 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4096, allocations: 4 kB / 1.274 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.311e-06/0.4096, allocations: 4 kB / 1.274 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.4098, allocations: 55.91 kB / 1.274 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4098, allocations: 7.938 kB / 1.274 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.41, allocations: 11.98 kB / 1.274 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.41, allocations: 19.98 kB / 1.274 GB, free: 356 kB / 0.9825 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.0001446/0.4102, allocations: 200.9 kB / 1.274 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.4102, allocations: 11.91 kB / 1.274 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.4105, allocations: 143 kB / 1.274 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4106, allocations: 11.92 kB / 1.274 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4106, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4107, allocations: 101 kB / 1.274 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4107, allocations: 12.06 kB / 1.274 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4109, allocations: 15.97 kB / 1.274 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.411, allocations: 8 kB / 1.274 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003385/0.4113, allocations: 300.6 kB / 1.275 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003782/0.4117, allocations: 393.9 kB / 1.275 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.966e-05/0.4118, allocations: 47.97 kB / 1.275 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001933/0.4119, allocations: 157.1 kB / 1.275 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of Backend: time 4.81e-07/0.4119, allocations: 4 kB / 1.275 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.4131, allocations: 398.2 kB / 1.275 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001015/0.4141, allocations: 0.7791 MB / 1.276 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.00864/0.4228, allocations: 4.058 MB / 1.28 GB, free: 9.641 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches