Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 110.2 kB / 16.41 MB, free: 6.516 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.001993/0.001993, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.713/1.713, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9647, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006175/0.9709, allocations: 3.755 MB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003489/0.9745, allocations: 1.793 MB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.9749, allocations: 19.88 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.976, allocations: 270.6 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.9769, allocations: 310.5 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.9776, allocations: 245 kB / 1.174 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009126/0.9785, allocations: 0.6011 MB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.9791, allocations: 262.5 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.9795, allocations: 239 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.98, allocations: 239 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.9801, allocations: 28 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.9807, allocations: 271.4 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.9809, allocations: 127.6 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.9813, allocations: 206.8 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009545/0.9822, allocations: 0.6036 MB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9822, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9822, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.9823, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001774/0.9841, allocations: 0.7435 MB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.9841, allocations: 8.922 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.9852, allocations: 136.4 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.9859, allocations: 423.8 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.986, allocations: 21.03 kB / 1.177 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.9861, allocations: 32.36 kB / 1.177 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000883/0.987, allocations: 0.5477 MB / 1.178 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.987, allocations: 7.938 kB / 1.178 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.9871, allocations: 16 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.621e-05/0.9871, allocations: 40.53 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.9879, allocations: 401.8 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.9915, allocations: 3.334 MB / 1.182 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.9923, allocations: 346.3 kB / 1.182 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.9927, allocations: 168.8 kB / 1.182 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.9927, allocations: 8 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.9928, allocations: 42.48 kB / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 5.831e-06/0.9928, allocations: 0 / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27): time 0.00249/0.9953, allocations: 1.063 MB / 1.183 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.9954, allocations: 63.58 kB / 1.183 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.9958, allocations: 337.6 kB / 1.184 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.9958, allocations: 29.7 kB / 1.184 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.996, allocations: 260 kB / 1.184 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.9961, allocations: 99.16 kB / 1.184 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.9963, allocations: 78.09 kB / 1.184 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9965, allocations: 346.8 kB / 1.184 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.9968, allocations: 144.8 kB / 1.184 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.9973, allocations: 290.5 kB / 1.185 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.998, allocations: 490.4 kB / 1.185 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.998, allocations: 8 kB / 1.185 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001036/0.999, allocations: 0.5578 MB / 1.186 GB, free: 268 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.9991, allocations: 8.625 kB / 1.186 GB, free: 260 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9991, allocations: 8 kB / 1.186 GB, free: 252 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.9995, allocations: 86.52 kB / 1.186 GB, free: 156 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.9999, allocations: 83.88 kB / 1.186 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.9999, allocations: 11.94 kB / 1.186 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/1, allocations: 31.91 kB / 1.186 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1, allocations: 20 kB / 1.186 GB, free: 8 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002696/1.001, allocations: 181.6 kB / 1.186 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.001, allocations: 35.77 kB / 1.186 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/1.002, allocations: 464 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/1.002, allocations: 3.984 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.002, allocations: 4 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.002, allocations: 140.8 kB / 1.187 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/1.002, allocations: 4 kB / 1.187 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/1.002, allocations: 19.97 kB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.002, allocations: 23.97 kB / 1.187 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001232/1.004, allocations: 0.5268 MB / 1.187 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001049/1.005, allocations: 0.694 MB / 1.188 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002961/1.005, allocations: 147.9 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002609/1.005, allocations: 243.2 kB / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of Backend: time 8.01e-07/1.005, allocations: 0 / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001543/1.007, allocations: 0.7254 MB / 1.189 GB, free: 12.68 MB / 0.92 GB Notification: Performance of SimCode: time 0.001807/1.009, allocations: 1.215 MB / 1.19 GB, free: 11.42 MB / 0.92 GB Notification: Performance of Templates: time 0.0127/1.021, allocations: 6.562 MB / 1.197 GB, free: 4.914 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches