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.001429/0.001429, allocations: 107.5 kB / 16.37 MB, free: 5.547 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.001258/0.001258, allocations: 194.5 kB / 17.3 MB, free: 5.184 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.415/1.415, 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 9.1.2-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.11 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.0059/0.3116, allocations: 3.747 MB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3147, allocations: 1.8 MB / 0.9566 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.3151, allocations: 15.88 kB / 0.9566 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008973/0.3161, allocations: 258.7 kB / 0.9568 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.3169, allocations: 294.5 kB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.3175, allocations: 259.3 kB / 0.9574 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00063/0.3181, allocations: 0.5972 MB / 0.9579 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.3186, allocations: 258.5 kB / 0.9582 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.3189, allocations: 235 kB / 0.9584 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.3193, allocations: 239 kB / 0.9586 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.3193, allocations: 24 kB / 0.9587 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.3198, allocations: 271.4 kB / 0.9589 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3199, allocations: 119.6 kB / 0.959 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3201, allocations: 206.8 kB / 0.9592 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.3208, allocations: 0.5956 MB / 0.9598 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3208, allocations: 0 / 0.9598 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3208, allocations: 8 kB / 0.9598 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3208, allocations: 0 / 0.9598 GB, free: 15.09 MB / 0.7481 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.001156/0.322, allocations: 0.7207 MB / 0.9605 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.322, allocations: 12.03 kB / 0.9605 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000872/0.3229, allocations: 140.2 kB / 0.9607 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.3235, allocations: 411.5 kB / 0.9611 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3236, allocations: 21.03 kB / 0.9611 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.3236, allocations: 40.23 kB / 0.9611 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.3244, allocations: 0.5522 MB / 0.9617 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3245, allocations: 3.938 kB / 0.9617 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.3245, allocations: 16 kB / 0.9617 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.3246, allocations: 40.53 kB / 0.9617 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.3252, allocations: 409.8 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.3281, allocations: 3.322 MB / 0.9653 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.3287, allocations: 342.4 kB / 0.9657 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.329, allocations: 180.7 kB / 0.9658 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.3291, allocations: 7.938 kB / 0.9659 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3291, allocations: 34.56 kB / 0.9659 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.3291, allocations: 0 / 0.9659 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.001988/0.3311, allocations: 1.058 MB / 0.9669 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3312, allocations: 63.56 kB / 0.967 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3315, allocations: 341.5 kB / 0.9673 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3315, allocations: 29.7 kB / 0.9673 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3317, allocations: 243.5 kB / 0.9676 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.3318, allocations: 94.64 kB / 0.9677 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3319, allocations: 78.03 kB / 0.9677 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3321, allocations: 346.8 kB / 0.9681 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.3323, allocations: 148.8 kB / 0.9682 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3327, allocations: 290.5 kB / 0.9685 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.3333, allocations: 478.5 kB / 0.9689 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3333, allocations: 4 kB / 0.9689 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009641/0.3343, allocations: 0.5655 MB / 0.9695 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3343, allocations: 8 kB / 0.9695 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.3343, allocations: 4 kB / 0.9695 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.3347, allocations: 87 kB / 0.9696 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.335, allocations: 95.81 kB / 0.9697 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.335, allocations: 8 kB / 0.9697 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3353, allocations: 27.91 kB / 0.9697 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3353, allocations: 20 kB / 0.9697 GB, free: 4.227 MB / 0.7481 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.0001926/0.3355, allocations: 181.6 kB / 0.9699 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.3356, allocations: 35.53 kB / 0.9699 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008464/0.3365, allocations: 468 kB / 0.9704 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3365, allocations: 4 kB / 0.9704 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3365, allocations: 0 / 0.9704 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3365, allocations: 0 / 0.9704 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.3379, allocations: 0.9676 MB / 0.9713 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3379, allocations: 0 / 0.9713 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3382, allocations: 51.89 kB / 0.9714 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.3384, allocations: 82.61 kB / 0.9715 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3385, allocations: 4 kB / 0.9715 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3385, allocations: 7.984 kB / 0.9715 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3385, allocations: 3.938 kB / 0.9715 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.3393, allocations: 0.548 MB / 0.972 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.3395, allocations: 136.6 kB / 0.9721 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.3396, allocations: 8 kB / 0.9722 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3398, allocations: 19.97 kB / 0.9722 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.3399, allocations: 27.91 kB / 0.9722 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3399, allocations: 4 kB / 0.9722 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002279/0.3401, allocations: 239.2 kB / 0.9724 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3402, allocations: 4 kB / 0.9724 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004234/0.3406, allocations: 84 kB / 0.9725 GB, free: 1.215 MB / 0.7481 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.000128/0.3407, allocations: 107.2 kB / 0.9726 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.3416, allocations: 0.6426 MB / 0.9732 GB, free: 404 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3417, allocations: 0 / 0.9732 GB, free: 404 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.3421, allocations: 433.1 kB / 0.9737 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.3429, allocations: 137 kB / 0.9738 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.344, allocations: 0.7229 MB / 0.9745 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3445, allocations: 0.8195 MB / 0.9753 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3447, allocations: 87.33 kB / 0.9754 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.3448, allocations: 39.38 kB / 0.9754 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.3448, allocations: 0 / 0.9754 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of Templates: time 0.009123/0.3539, allocations: 4.663 MB / 0.98 GB, free: 9.449 MB / 0.7637 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 -s gbode -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