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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.5 MB / 398 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 176.8 kB / 491.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009119, allocations: 95.77 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2937, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.362, allocations: 165.8 MB / 1.374 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.362, allocations: 93.5 kB / 1.374 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04721/1.409, allocations: 22.17 MB / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/1.41, allocations: 4 kB / 1.396 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.127e-05/1.41, allocations: 15.53 kB / 1.396 GB, free: 26.35 MB / 0.8386 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.0009577/1.411, allocations: 0.6366 MB / 1.397 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.411, allocations: 15.53 kB / 1.397 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/1.411, allocations: 132.1 kB / 1.397 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/1.412, allocations: 379.7 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.412, allocations: 11.41 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/1.412, allocations: 18.72 kB / 1.397 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004141/1.412, allocations: 276.8 kB / 1.397 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/1.413, allocations: 0.541 MB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.413, allocations: 0 / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/1.413, allocations: 3.875 kB / 1.398 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/1.413, allocations: 38.95 kB / 1.398 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/1.416, allocations: 3.289 MB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/1.416, allocations: 294 kB / 1.401 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/1.416, allocations: 161.2 kB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/1.416, allocations: 0 / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/1.416, allocations: 42.25 kB / 1.402 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 9.62e-07/1.416, allocations: 0 / 1.402 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.000954/1.417, allocations: 0.566 MB / 1.402 GB, free: 21.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/1.417, allocations: 51.64 kB / 1.402 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/1.418, allocations: 261.2 kB / 1.403 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.418, allocations: 25.7 kB / 1.403 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.418, allocations: 239.9 kB / 1.403 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/1.418, allocations: 93.5 kB / 1.403 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/1.418, allocations: 0 / 1.403 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.418, allocations: 352.4 kB / 1.403 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.418, allocations: 117.6 kB / 1.403 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.418, allocations: 249.2 kB / 1.404 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/1.419, allocations: 166.8 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.419, allocations: 0 / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000632/1.419, allocations: 482.4 kB / 1.404 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.419, allocations: 8 kB / 1.404 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.419, allocations: 4 kB / 1.404 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/1.42, allocations: 84.42 kB / 1.404 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/1.42, allocations: 87.81 kB / 1.404 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.42, allocations: 11.94 kB / 1.404 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/1.42, allocations: 19.97 kB / 1.404 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.42, allocations: 19.94 kB / 1.404 GB, free: 20.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.42, allocations: 109.8 kB / 1.405 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/1.42, allocations: 43.48 kB / 1.405 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/1.421, allocations: 409.4 kB / 1.405 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.421, allocations: 4 kB / 1.405 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.421, allocations: 4 kB / 1.405 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.421, allocations: 0 / 1.405 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/1.422, allocations: 0.8648 MB / 1.406 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.422, allocations: 0 / 1.406 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/1.422, allocations: 55.22 kB / 1.406 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/1.422, allocations: 79.38 kB / 1.406 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.422, allocations: 8.094 kB / 1.406 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.422, allocations: 3.938 kB / 1.406 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.422, allocations: 3.938 kB / 1.406 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/1.423, allocations: 0.5273 MB / 1.406 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.423, allocations: 138 kB / 1.407 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/1.423, allocations: 3.984 kB / 1.407 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.423, allocations: 19.42 kB / 1.407 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/1.424, allocations: 23.95 kB / 1.407 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/1.424, allocations: 11.94 kB / 1.407 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001601/1.424, allocations: 194.3 kB / 1.407 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.424, allocations: 0 / 1.407 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000406/1.424, allocations: 76 kB / 1.407 GB, free: 18.09 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/1.424, allocations: 111.4 kB / 1.407 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005525/1.425, allocations: 0.5722 MB / 1.408 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.425, allocations: 0 / 1.408 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/1.425, allocations: 407.8 kB / 1.408 GB, free: 17.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/1.426, allocations: 114.3 kB / 1.408 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/1.427, allocations: 0.5037 MB / 1.409 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.427, allocations: 0.8369 MB / 1.409 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002265/1.427, allocations: 75.22 kB / 1.409 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/1.427, allocations: 27.44 kB / 1.409 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/1.427, allocations: 4 kB / 1.409 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.007271/1.434, allocations: 3.984 MB / 1.413 GB, free: 11.56 MB / 0.8386 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","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches