Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 218.5 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 61.12 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005792/0.3438, allocations: 3.621 MB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.3472, allocations: 1.77 MB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3475, allocations: 19.81 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.3485, allocations: 264.3 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007917/0.3493, allocations: 310.4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.3499, allocations: 256.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007487/0.3507, allocations: 0.6052 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.3511, allocations: 242.7 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.3516, allocations: 255.1 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.352, allocations: 247 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.352, allocations: 24 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.3524, allocations: 243.4 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3526, allocations: 123.6 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3528, allocations: 179.1 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.3536, allocations: 0.5914 MB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3536, allocations: 0 / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3536, allocations: 4 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3536, allocations: 0 / 1.334 GB, free: 8.789 MB / 1.029 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.001316/0.3549, allocations: 0.6797 MB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3549, allocations: 12.03 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.355, allocations: 70.7 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.3559, allocations: 140.5 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.3566, allocations: 333.4 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3566, allocations: 25.02 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.3567, allocations: 32.33 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3577, allocations: 0.634 MB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.3577, allocations: 3.938 kB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.3578, allocations: 20 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.3578, allocations: 40.62 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.3586, allocations: 406.1 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.3616, allocations: 2.745 MB / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.3623, allocations: 313.1 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.3626, allocations: 164.8 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3626, allocations: 4 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3627, allocations: 30.56 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.3627, allocations: 0 / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002075/0.3647, allocations: 0.8561 MB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3648, allocations: 51.64 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.3652, allocations: 349.5 kB / 1.341 GB, free: 1.582 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3652, allocations: 33.7 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3654, allocations: 240.2 kB / 1.341 GB, free: 1.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.3655, allocations: 103.1 kB / 1.341 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3656, allocations: 82.08 kB / 1.341 GB, free: 1.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3658, allocations: 350.7 kB / 1.342 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3661, allocations: 152.8 kB / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.3664, allocations: 294.5 kB / 1.342 GB, free: 268 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.3672, allocations: 474.6 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3672, allocations: 4 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001046/0.3682, allocations: 0.5621 MB / 1.343 GB, free: 15.15 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.3682, allocations: 7.984 kB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3682, allocations: 8 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.3686, allocations: 82.52 kB / 1.343 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.3689, allocations: 91.81 kB / 1.343 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.3689, allocations: 7.938 kB / 1.343 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.3692, allocations: 32.22 kB / 1.343 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3692, allocations: 20 kB / 1.343 GB, free: 14.89 MB / 1.045 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.000217/0.3695, allocations: 178.2 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.3695, allocations: 43.72 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.3705, allocations: 468.3 kB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3705, allocations: 0 / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3705, allocations: 4 kB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3705, allocations: 7.938 kB / 1.344 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.372, allocations: 0.9022 MB / 1.345 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.372, allocations: 0 / 1.345 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3723, allocations: 47.95 kB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.3725, allocations: 82.52 kB / 1.345 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3725, allocations: 12.02 kB / 1.345 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3725, allocations: 4 kB / 1.345 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3725, allocations: 0 / 1.345 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.3734, allocations: 0.543 MB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3736, allocations: 55.73 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.3737, allocations: 11.98 kB / 1.346 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3739, allocations: 23.91 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.374, allocations: 23.97 kB / 1.346 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.374, allocations: 7.984 kB / 1.346 GB, free: 12.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002522/0.3742, allocations: 239.2 kB / 1.346 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3742, allocations: 0 / 1.346 GB, free: 12.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004415/0.3747, allocations: 88 kB / 1.346 GB, free: 12.05 MB / 1.045 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.001221/0.3759, allocations: 1.088 MB / 1.347 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008329/0.3767, allocations: 405.2 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3767, allocations: 0 / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.3771, allocations: 191.6 kB / 1.348 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.3778, allocations: 134.9 kB / 1.348 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.3828, allocations: 3.729 MB / 1.352 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.383, allocations: 227.7 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.3833, allocations: 79.34 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3835, allocations: 131.4 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of SimCode: time 6.22e-07/0.3835, allocations: 0 / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.4234, allocations: 9.487 MB / 1.361 GB, free: 12.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 0 / 1.361 GB, free: 12.57 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.535442619991954]