Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001835/0.001835, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00204/0.00204, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.557/1.557, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.908/2.908, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8334, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006071/0.8396, allocations: 3.782 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.843, allocations: 1.781 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.8434, allocations: 15.94 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000985/0.8444, allocations: 255 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007761/0.8452, allocations: 274.7 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.8459, allocations: 226.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.8467, allocations: 0.6049 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.8473, allocations: 290.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.8477, allocations: 235 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.848, allocations: 239 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.8481, allocations: 28 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.8486, allocations: 271.4 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.8488, allocations: 119.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.849, allocations: 214.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.8499, allocations: 0.6131 MB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8499, allocations: 0 / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8499, allocations: 0 / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8499, allocations: 0 / 1.026 GB, free: 9.746 MB / 0.7794 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.001356/0.8513, allocations: 0.7285 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.8513, allocations: 8.031 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.8522, allocations: 132.2 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.8528, allocations: 383.5 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.8529, allocations: 25.02 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.8529, allocations: 32.36 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.8539, allocations: 0.5472 MB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.8539, allocations: 7.938 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.854, allocations: 15.98 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.8541, allocations: 44.52 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.8548, allocations: 413.7 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.8583, allocations: 3.33 MB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.859, allocations: 342.3 kB / 1.031 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.8594, allocations: 172.8 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.8594, allocations: 4 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.8595, allocations: 34.56 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.8595, allocations: 0 / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.002277/0.8618, allocations: 1.062 MB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.8618, allocations: 55.64 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.8623, allocations: 345.5 kB / 1.033 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.8623, allocations: 33.7 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.8625, allocations: 243.5 kB / 1.033 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.8626, allocations: 98.58 kB / 1.033 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8627, allocations: 82.03 kB / 1.033 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8629, allocations: 338.8 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.8632, allocations: 152.8 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.8636, allocations: 290.5 kB / 1.034 GB, free: 284 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.8643, allocations: 480 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8643, allocations: 4 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001077/0.8654, allocations: 0.5658 MB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.8655, allocations: 9.406 kB / 1.035 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.8655, allocations: 4 kB / 1.035 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.8659, allocations: 94.42 kB / 1.035 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.8662, allocations: 91.83 kB / 1.035 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.8663, allocations: 12.23 kB / 1.035 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.8666, allocations: 39.91 kB / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.8666, allocations: 12 kB / 1.035 GB, free: 14.89 MB / 0.795 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.0002573/0.8669, allocations: 174.2 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.867, allocations: 39.53 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009748/0.8679, allocations: 471.9 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.868, allocations: 4 kB / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.868, allocations: 0 / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.868, allocations: 4 kB / 1.036 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.8696, allocations: 0.9591 MB / 1.037 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8696, allocations: 4 kB / 1.037 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.8699, allocations: 51.89 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.8701, allocations: 78.52 kB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.8702, allocations: 8.094 kB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8702, allocations: 4 kB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8702, allocations: 3.938 kB / 1.037 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.8711, allocations: 0.5433 MB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.8713, allocations: 136.6 kB / 1.038 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.8714, allocations: 7.984 kB / 1.038 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.8716, allocations: 19.98 kB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.8717, allocations: 31.83 kB / 1.038 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.8717, allocations: 12 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002822/0.872, allocations: 231.2 kB / 1.038 GB, free: 11.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.872, allocations: 7.938 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004801/0.8725, allocations: 84 kB / 1.038 GB, free: 11.89 MB / 0.795 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.0001933/0.8727, allocations: 111.5 kB / 1.038 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.8738, allocations: 0.6625 MB / 1.039 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8739, allocations: 0 / 1.039 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.8744, allocations: 437.7 kB / 1.039 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.8751, allocations: 131.2 kB / 1.039 GB, free: 10.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8767, allocations: 0.8714 MB / 1.04 GB, free: 9.523 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.8772, allocations: 0.8311 MB / 1.041 GB, free: 8.668 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003275/0.8776, allocations: 79.34 kB / 1.041 GB, free: 8.586 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.8777, allocations: 27.44 kB / 1.041 GB, free: 8.562 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.8777, allocations: 4 kB / 1.041 GB, free: 8.559 MB / 0.795 GB Notification: Performance of Templates: time 0.01182/0.8895, allocations: 4.687 MB / 1.046 GB, free: 3.934 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches