Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00148/0.00148, allocations: 106.8 kB / 16.41 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.001694/0.001694, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.321/1.321, 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 11.0.0-master/package.mo): time 2.575/2.575, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 64.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8973/0.8994, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005921/0.9053, allocations: 3.742 MB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.9087, allocations: 1.789 MB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.9091, allocations: 23.88 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.9102, allocations: 262.6 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008649/0.9111, allocations: 298.4 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.9118, allocations: 250.7 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.9127, allocations: 0.601 MB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.9132, allocations: 254.6 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.9136, allocations: 231.1 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.9141, allocations: 238.9 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.128e-05/0.9141, allocations: 28 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.9147, allocations: 279.4 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.9148, allocations: 119.6 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.9151, allocations: 210.9 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008148/0.9159, allocations: 0.5895 MB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9159, allocations: 0 / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.916, allocations: 0 / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.916, allocations: 0 / 1.217 GB, free: 4.707 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001377/0.9174, allocations: 0.7401 MB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.9174, allocations: 8.031 kB / 1.218 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/0.9184, allocations: 144.2 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.9191, allocations: 403.6 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.9191, allocations: 25.03 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.9192, allocations: 32.36 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.9201, allocations: 0.5471 MB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.9202, allocations: 8 kB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.9202, allocations: 15.98 kB / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/0.9203, allocations: 44.53 kB / 1.219 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.921, allocations: 405.7 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.9244, allocations: 3.326 MB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.9251, allocations: 338.4 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.9254, allocations: 176.8 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.9255, allocations: 8 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.9255, allocations: 38.44 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.9255, allocations: 7.938 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.002096/0.9276, allocations: 1.063 MB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.9277, allocations: 55.64 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.928, allocations: 341.6 kB / 1.224 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.9281, allocations: 29.7 kB / 1.224 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.9283, allocations: 243.5 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.9283, allocations: 102.7 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.9285, allocations: 74.03 kB / 1.225 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9286, allocations: 346.8 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.9289, allocations: 148.8 kB / 1.225 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.9293, allocations: 294.5 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.93, allocations: 478.6 kB / 1.226 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.93, allocations: 0 / 1.226 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009909/0.931, allocations: 0.5615 MB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9311, allocations: 8.625 kB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9311, allocations: 4 kB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.9314, allocations: 98.44 kB / 1.227 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.9318, allocations: 87.88 kB / 1.227 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.9318, allocations: 11.92 kB / 1.227 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.9321, allocations: 31.91 kB / 1.227 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.9321, allocations: 16 kB / 1.227 GB, free: 9.828 MB / 0.9512 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.000204/0.9323, allocations: 173.8 kB / 1.227 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.9324, allocations: 39.53 kB / 1.227 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008819/0.9333, allocations: 467.9 kB / 1.227 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9333, allocations: 0 / 1.227 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9333, allocations: 0 / 1.227 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.9335, allocations: 144.6 kB / 1.228 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.9335, allocations: 0 / 1.228 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.9337, allocations: 23.97 kB / 1.228 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.9338, allocations: 23.91 kB / 1.228 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0011/0.9349, allocations: 0.5346 MB / 1.228 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009767/0.9359, allocations: 0.6899 MB / 1.229 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000257/0.9362, allocations: 151.9 kB / 1.229 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002269/0.9364, allocations: 231.2 kB / 1.229 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of Backend: time 2.7e-07/0.9364, allocations: 0 / 1.229 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.9379, allocations: 0.7317 MB / 1.23 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001559/0.9395, allocations: 1.208 MB / 1.231 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.01229/0.9518, allocations: 6.489 MB / 1.237 GB, free: 14.81 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches