Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.89 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005896/1.143, allocations: 3.864 MB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003259/1.146, allocations: 1.847 MB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/1.147, allocations: 16.5 kB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009727/1.148, allocations: 271.7 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008132/1.149, allocations: 310.6 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/1.149, allocations: 262 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007174/1.15, allocations: 0.6112 MB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/1.15, allocations: 191.5 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/1.151, allocations: 234 kB / 1.279 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/1.151, allocations: 242.8 kB / 1.28 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/1.151, allocations: 27.09 kB / 1.28 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/1.152, allocations: 285.5 kB / 1.28 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/1.152, allocations: 129.9 kB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/1.152, allocations: 211.8 kB / 1.28 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009585/1.153, allocations: 0.597 MB / 1.281 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.153, allocations: 0.5938 kB / 1.281 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.153, allocations: 0 / 1.281 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.153, allocations: 0.9688 kB / 1.281 GB, free: 2.465 MB / 0.9981 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.00118/1.154, allocations: 0.7464 MB / 1.282 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.154, allocations: 7.859 kB / 1.282 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/1.155, allocations: 133.2 kB / 1.282 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/1.156, allocations: 411 kB / 1.282 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.156, allocations: 30.39 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/1.156, allocations: 27.12 kB / 1.282 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/1.157, allocations: 0.5499 MB / 1.283 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.157, allocations: 9.594 kB / 1.283 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/1.157, allocations: 15.27 kB / 1.283 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/1.157, allocations: 38.25 kB / 1.283 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/1.157, allocations: 408.7 kB / 1.283 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/1.161, allocations: 3.331 MB / 1.286 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/1.161, allocations: 318.6 kB / 1.287 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/1.162, allocations: 164 kB / 1.287 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.162, allocations: 4 kB / 1.287 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.162, allocations: 32.67 kB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/1.162, allocations: 0 / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.002323/1.164, allocations: 1.071 MB / 1.288 GB, free: 13.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.164, allocations: 54.92 kB / 1.288 GB, free: 13.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/1.165, allocations: 345.1 kB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/1.165, allocations: 30.73 kB / 1.288 GB, free: 12.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/1.165, allocations: 252.4 kB / 1.289 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.165, allocations: 105.3 kB / 1.289 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/1.165, allocations: 77.69 kB / 1.289 GB, free: 12.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.165, allocations: 350.1 kB / 1.289 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/1.166, allocations: 147.6 kB / 1.289 GB, free: 12.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/1.166, allocations: 293 kB / 1.289 GB, free: 11.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/1.167, allocations: 480.6 kB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.167, allocations: 3.938 kB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001175/1.168, allocations: 0.5573 MB / 1.29 GB, free: 11.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.168, allocations: 7.781 kB / 1.29 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.168, allocations: 5.875 kB / 1.29 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/1.168, allocations: 87.17 kB / 1.291 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.169, allocations: 91.88 kB / 1.291 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/1.169, allocations: 13.31 kB / 1.291 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/1.169, allocations: 33.22 kB / 1.291 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.169, allocations: 16 kB / 1.291 GB, free: 11.33 MB / 1.014 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.0002544/1.169, allocations: 181.1 kB / 1.291 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/1.169, allocations: 38.12 kB / 1.291 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/1.17, allocations: 473.8 kB / 1.291 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.17, allocations: 7.969 kB / 1.291 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.17, allocations: 0 / 1.291 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.17, allocations: 5.875 kB / 1.291 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.172, allocations: 0.9526 MB / 1.292 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.172, allocations: 0.7031 kB / 1.292 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/1.172, allocations: 54.55 kB / 1.292 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/1.173, allocations: 82.53 kB / 1.292 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.173, allocations: 6.625 kB / 1.292 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.173, allocations: 1.969 kB / 1.292 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.173, allocations: 6.625 kB / 1.292 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/1.174, allocations: 0.5388 MB / 1.293 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/1.174, allocations: 139.8 kB / 1.293 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/1.174, allocations: 7.047 kB / 1.293 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/1.174, allocations: 24.89 kB / 1.293 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/1.174, allocations: 31.88 kB / 1.293 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/1.174, allocations: 7.312 kB / 1.293 GB, free: 9.859 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002711/1.174, allocations: 238.3 kB / 1.293 GB, free: 9.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.174, allocations: 0 / 1.293 GB, free: 9.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004658/1.175, allocations: 88.56 kB / 1.294 GB, free: 9.719 MB / 1.014 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.0002093/1.175, allocations: 111.1 kB / 1.294 GB, free: 9.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.176, allocations: 0.6065 MB / 1.294 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.176, allocations: 1.219 kB / 1.294 GB, free: 9.203 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005336/1.177, allocations: 427.5 kB / 1.295 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/1.177, allocations: 126.2 kB / 1.295 GB, free: 8.805 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.179, allocations: 0.7416 MB / 1.295 GB, free: 8.375 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/1.179, allocations: 0.8224 MB / 1.296 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002508/1.18, allocations: 75.8 kB / 1.296 GB, free: 7.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/1.18, allocations: 32.14 kB / 1.296 GB, free: 7.645 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.18, allocations: 0 / 1.296 GB, free: 7.645 MB / 1.014 GB Notification: Performance of Templates: time 0.01267/1.192, allocations: 4.897 MB / 1.301 GB, free: 7.301 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.535272889770567]