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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008246/0.0008244, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009856/0.0009856, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004447, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7549, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003486/0.7585, allocations: 3.412 MB / 0.959 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.7609, allocations: 1.781 MB / 0.9608 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.7611, allocations: 16.12 kB / 0.9608 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.7614, allocations: 57 kB / 0.9608 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.762, allocations: 275.2 kB / 0.9611 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.7625, allocations: 226.6 kB / 0.9613 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.7631, allocations: 0.7407 MB / 0.9621 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.7637, allocations: 362.7 kB / 0.9624 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.7641, allocations: 199.9 kB / 0.9626 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.7644, allocations: 221.2 kB / 0.9628 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.7644, allocations: 17.03 kB / 0.9628 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00068/0.7651, allocations: 337.9 kB / 0.9631 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.7653, allocations: 101.1 kB / 0.9632 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.7655, allocations: 220.7 kB / 0.9634 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.7661, allocations: 450 kB / 0.9639 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7661, allocations: 0 / 0.9639 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7661, allocations: 0 / 0.9639 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7661, allocations: 4.938 kB / 0.9639 GB, free: 1.555 MB / 0.7169 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.001201/0.7674, allocations: 0.6569 MB / 0.9645 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.7674, allocations: 13.16 kB / 0.9645 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.7685, allocations: 136 kB / 0.9647 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.769, allocations: 377.1 kB / 0.965 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.769, allocations: 24.31 kB / 0.965 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.7691, allocations: 35.64 kB / 0.9651 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.77, allocations: 0.5615 MB / 0.9656 GB, free: 100 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.77, allocations: 10.59 kB / 0.9656 GB, free: 92 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.7701, allocations: 12.81 kB / 0.9656 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-05/0.7702, allocations: 40.91 kB / 0.9657 GB, free: 72 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.771, allocations: 423.5 kB / 0.9661 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.7742, allocations: 3.32 MB / 0.9693 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.775, allocations: 350.7 kB / 0.9697 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.7753, allocations: 182.1 kB / 0.9698 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.7754, allocations: 6.938 kB / 0.9698 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.7754, allocations: 36.66 kB / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.7754, allocations: 0 / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002388/0.7778, allocations: 1.097 MB / 0.971 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.7779, allocations: 54.64 kB / 0.971 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.7783, allocations: 342.8 kB / 0.9713 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.7783, allocations: 27.2 kB / 0.9714 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.7785, allocations: 246.7 kB / 0.9716 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.7786, allocations: 102.7 kB / 0.9717 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.7787, allocations: 36.98 kB / 0.9717 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7789, allocations: 347 kB / 0.9721 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.7792, allocations: 151 kB / 0.9722 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.7796, allocations: 304 kB / 0.9725 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.7804, allocations: 487.1 kB / 0.973 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7804, allocations: 2.25 kB / 0.973 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001052/0.7815, allocations: 0.573 MB / 0.9735 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7815, allocations: 9.469 kB / 0.9735 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7816, allocations: 8.375 kB / 0.9735 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.7819, allocations: 85.7 kB / 0.9736 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.7823, allocations: 91.69 kB / 0.9737 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.7823, allocations: 6.094 kB / 0.9737 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.7826, allocations: 37.06 kB / 0.9737 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.7826, allocations: 23.38 kB / 0.9738 GB, free: 9.5 MB / 0.7325 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.0002091/0.7828, allocations: 175 kB / 0.9739 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.7829, allocations: 39.69 kB / 0.974 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.7839, allocations: 479.6 kB / 0.9744 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.784, allocations: 3.156 kB / 0.9744 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.784, allocations: 1.344 kB / 0.9744 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.784, allocations: 5.297 kB / 0.9744 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.7856, allocations: 0.9598 MB / 0.9754 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7856, allocations: 1 kB / 0.9754 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.7858, allocations: 58.86 kB / 0.9754 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.7861, allocations: 84.06 kB / 0.9755 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.7861, allocations: 5.969 kB / 0.9755 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7861, allocations: 2.031 kB / 0.9755 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7862, allocations: 5.938 kB / 0.9755 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.7871, allocations: 0.5589 MB / 0.9761 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.7873, allocations: 142.2 kB / 0.9762 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.7874, allocations: 6.688 kB / 0.9762 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.7876, allocations: 25.22 kB / 0.9762 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.7877, allocations: 22.31 kB / 0.9763 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.7877, allocations: 13.03 kB / 0.9763 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002763/0.788, allocations: 234.4 kB / 0.9765 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.788, allocations: 0 / 0.9765 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004756/0.7885, allocations: 88.88 kB / 0.9766 GB, free: 7.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001743/0.7887, allocations: 109.2 kB / 0.9767 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.7898, allocations: 0.6421 MB / 0.9773 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7898, allocations: 0 / 0.9773 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.7903, allocations: 443.4 kB / 0.9777 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.7912, allocations: 123 kB / 0.9779 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.7927, allocations: 0.9395 MB / 0.9788 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.7932, allocations: 0.825 MB / 0.9796 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.7933, allocations: 31.34 kB / 0.9796 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7934, allocations: 0 / 0.9796 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of Templates: time 0.01497/0.8083, allocations: 9.383 MB / 0.9888 GB, free: 12.43 MB / 0.7481 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