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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009034/0.0009033, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007808/0.007808, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.595/1.595, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.796, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003867/0.7999, allocations: 3.412 MB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.8027, allocations: 1.777 MB / 0.9601 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.803, allocations: 16.12 kB / 0.9601 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.8033, allocations: 57 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006942/0.804, allocations: 275.2 kB / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.8045, allocations: 226.6 kB / 0.9607 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007917/0.8053, allocations: 0.7482 MB / 0.9614 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.806, allocations: 354.2 kB / 0.9617 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.8063, allocations: 204.5 kB / 0.9619 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.8067, allocations: 217.1 kB / 0.9621 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.8067, allocations: 17.66 kB / 0.9621 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.8073, allocations: 332.8 kB / 0.9625 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.8075, allocations: 102.2 kB / 0.9626 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.8077, allocations: 217.2 kB / 0.9628 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.8083, allocations: 0.5966 MB / 0.9634 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8083, allocations: 0 / 0.9634 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8083, allocations: 0 / 0.9634 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.8083, allocations: 1.562 kB / 0.9634 GB, free: 1.492 MB / 0.7169 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.001013/0.8093, allocations: 0.6562 MB / 0.964 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8094, allocations: 8.719 kB / 0.964 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/0.8103, allocations: 138.6 kB / 0.9641 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.8108, allocations: 382.4 kB / 0.9645 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.8109, allocations: 26.72 kB / 0.9645 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.8109, allocations: 34.08 kB / 0.9646 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.8117, allocations: 0.557 MB / 0.9651 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8117, allocations: 6.719 kB / 0.9651 GB, free: 32 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.8118, allocations: 12.66 kB / 0.9651 GB, free: 24 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.8119, allocations: 42.09 kB / 0.9652 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.8126, allocations: 413.5 kB / 0.9656 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.8156, allocations: 3.34 MB / 0.9688 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.8163, allocations: 338.2 kB / 0.9691 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.8167, allocations: 182.7 kB / 0.9693 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.8167, allocations: 3 kB / 0.9693 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.8167, allocations: 44.52 kB / 0.9694 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.512e-06/0.8167, allocations: 0 / 0.9694 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002447/0.8192, allocations: 1.093 MB / 0.9704 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.8192, allocations: 55.48 kB / 0.9705 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.8197, allocations: 346.8 kB / 0.9708 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.8197, allocations: 34.83 kB / 0.9708 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.8199, allocations: 242.1 kB / 0.9711 GB, free: 11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.82, allocations: 103.2 kB / 0.9712 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.8201, allocations: 37.11 kB / 0.9712 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8203, allocations: 347.8 kB / 0.9715 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.8206, allocations: 150.2 kB / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.8211, allocations: 299.7 kB / 0.972 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007859/0.8218, allocations: 492.7 kB / 0.9724 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8219, allocations: 1.156 kB / 0.9724 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001085/0.8229, allocations: 0.5703 MB / 0.973 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.823, allocations: 11.38 kB / 0.973 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.823, allocations: 5.219 kB / 0.973 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.8233, allocations: 89.34 kB / 0.9731 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.8237, allocations: 90.38 kB / 0.9732 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.8238, allocations: 12.03 kB / 0.9732 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.8241, allocations: 31.91 kB / 0.9732 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.8241, allocations: 22.16 kB / 0.9732 GB, free: 9.434 MB / 0.7325 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.000245/0.8244, allocations: 178.4 kB / 0.9734 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.8245, allocations: 37.97 kB / 0.9735 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.8256, allocations: 476.5 kB / 0.9739 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.8256, allocations: 7 kB / 0.9739 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8256, allocations: 2 kB / 0.9739 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8256, allocations: 0 / 0.9739 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.8273, allocations: 0.9686 MB / 0.9749 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.8274, allocations: 1.281 kB / 0.9749 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.8276, allocations: 53.83 kB / 0.9749 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.8279, allocations: 80.73 kB / 0.975 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.8279, allocations: 5.969 kB / 0.975 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8279, allocations: 1.938 kB / 0.975 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8279, allocations: 1.75 kB / 0.975 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.8289, allocations: 0.5587 MB / 0.9755 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.829, allocations: 142.1 kB / 0.9757 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.8291, allocations: 6.594 kB / 0.9757 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.8293, allocations: 34.16 kB / 0.9757 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.8294, allocations: 26.16 kB / 0.9757 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.8295, allocations: 9.219 kB / 0.9758 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002408/0.8297, allocations: 234.3 kB / 0.976 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8297, allocations: 0 / 0.976 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004648/0.8302, allocations: 89.16 kB / 0.9761 GB, free: 7.453 MB / 0.7325 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.0001505/0.8304, allocations: 109.2 kB / 0.9762 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009801/0.8313, allocations: 0.6411 MB / 0.9768 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8314, allocations: 3.938 kB / 0.9768 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.8319, allocations: 437.9 kB / 0.9772 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.8327, allocations: 117.4 kB / 0.9773 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8339, allocations: 0.8978 MB / 0.9782 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.8344, allocations: 0.8267 MB / 0.979 GB, free: 5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.8346, allocations: 83.47 kB / 0.9791 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.8347, allocations: 28.31 kB / 0.9791 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8347, allocations: 0 / 0.9791 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of Templates: time 0.009058/0.8438, allocations: 4.467 MB / 0.9835 GB, free: 1.184 MB / 0.7325 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 -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/jenkins/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