Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001655/0.001655, allocations: 112.9 kB / 16.42 MB, free: 6.465 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.001988/0.001988, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.008677/1.121, allocations: 3.745 MB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003912/1.125, allocations: 1.797 MB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/1.126, allocations: 17.66 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/1.127, allocations: 260.1 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000928/1.128, allocations: 308 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/1.129, allocations: 257.3 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001056/1.13, allocations: 0.6043 MB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006257/1.13, allocations: 254 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005097/1.131, allocations: 246.5 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/1.131, allocations: 231.7 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/1.131, allocations: 26.62 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/1.132, allocations: 279.3 kB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/1.132, allocations: 122.1 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/1.133, allocations: 214.7 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/1.134, allocations: 0.589 MB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.134, allocations: 0.7969 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/1.134, allocations: 1.094 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.456e-05/1.134, allocations: 0 / 1.097 GB, free: 152 kB / 0.8575 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.00152/1.135, allocations: 0.7259 MB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.135, allocations: 9.406 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/1.136, allocations: 136.6 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/1.137, allocations: 418.3 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/1.137, allocations: 25.48 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/1.137, allocations: 27.59 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.138, allocations: 0.5493 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.139, allocations: 6.703 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/1.139, allocations: 16.67 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/1.139, allocations: 42 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/1.14, allocations: 408.3 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/1.143, allocations: 3.326 MB / 1.103 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/1.144, allocations: 344.7 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/1.145, allocations: 174.2 kB / 1.103 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.145, allocations: 1.812 kB / 1.103 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.145, allocations: 37.36 kB / 1.103 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/1.145, allocations: 0 / 1.103 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.002647/1.147, allocations: 1.065 MB / 1.104 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.147, allocations: 55.38 kB / 1.104 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/1.148, allocations: 347.5 kB / 1.105 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/1.148, allocations: 30.39 kB / 1.105 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/1.148, allocations: 245.6 kB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.148, allocations: 95 kB / 1.105 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.148, allocations: 78.78 kB / 1.105 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.149, allocations: 343.8 kB / 1.106 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/1.149, allocations: 150.5 kB / 1.106 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/1.149, allocations: 293.4 kB / 1.106 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007957/1.15, allocations: 479 kB / 1.106 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.15, allocations: 13.81 kB / 1.106 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001145/1.151, allocations: 0.5615 MB / 1.107 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.151, allocations: 7.641 kB / 1.107 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.151, allocations: 4.688 kB / 1.107 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/1.152, allocations: 83.73 kB / 1.107 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/1.152, allocations: 91.97 kB / 1.107 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/1.152, allocations: 11.84 kB / 1.107 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/1.153, allocations: 33.28 kB / 1.107 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/1.153, allocations: 14.84 kB / 1.107 GB, free: 9.02 MB / 0.8731 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.0002339/1.153, allocations: 174 kB / 1.107 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/1.153, allocations: 40.95 kB / 1.107 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/1.154, allocations: 475.4 kB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.154, allocations: 1.219 kB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.154, allocations: 1.891 kB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/1.154, allocations: 133.8 kB / 1.108 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.154, allocations: 7.047 kB / 1.108 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/1.155, allocations: 20.41 kB / 1.108 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/1.155, allocations: 18 kB / 1.108 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001259/1.156, allocations: 0.5376 MB / 1.109 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001214/1.157, allocations: 0.6854 MB / 1.109 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003556/1.157, allocations: 157.1 kB / 1.109 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003047/1.158, allocations: 234.3 kB / 1.11 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of Backend: time 3.5e-07/1.158, allocations: 4 kB / 1.11 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.16, allocations: 0.7265 MB / 1.11 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001831/1.161, allocations: 1.207 MB / 1.112 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of Templates: time 0.01615/1.178, allocations: 6.564 MB / 1.118 GB, free: 5.816 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches