Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001813/0.001813, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002167/0.002167, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.13/3.13, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",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.003029/0.003029, allocations: 62.14 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3451, allocations: 179 MB / 1.345 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006693/0.3518, allocations: 5 MB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.3559, allocations: 2.569 MB / 1.353 GB, free: 8.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.3561, allocations: 35.62 kB / 1.353 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3572, allocations: 417.9 kB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.3581, allocations: 473.6 kB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.3589, allocations: 377.9 kB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.3599, allocations: 0.91 MB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.3604, allocations: 326.6 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.3609, allocations: 358.6 kB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.3614, allocations: 366.4 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.3614, allocations: 36 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.3621, allocations: 415.1 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3623, allocations: 183.4 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.3625, allocations: 318.2 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.3635, allocations: 0.8909 MB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3635, allocations: 0 / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3635, allocations: 4 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3636, allocations: 0 / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001441/0.365, allocations: 0.8857 MB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.365, allocations: 16.03 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.651e-05/0.3651, allocations: 9.188 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3652, allocations: 98.69 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.3664, allocations: 200.3 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.3672, allocations: 480.8 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3672, allocations: 33.38 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.3673, allocations: 44.36 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.3684, allocations: 0.8481 MB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3685, allocations: 11.94 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.3685, allocations: 23.98 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.3686, allocations: 64.95 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.3694, allocations: 0.5655 MB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/0.374, allocations: 5.582 MB / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.3746, allocations: 422.2 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.3749, allocations: 208.7 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.375, allocations: 4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.375, allocations: 30.56 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 3.426e-06/0.375, allocations: 11.98 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002366/0.3774, allocations: 1.125 MB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3774, allocations: 55.69 kB / 1.368 GB, free: 8.461 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.3779, allocations: 0.4911 MB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.378, allocations: 29.7 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.3782, allocations: 363.8 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3783, allocations: 134.9 kB / 1.369 GB, free: 7.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3785, allocations: 106.2 kB / 1.369 GB, free: 7.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3787, allocations: 366.8 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.379, allocations: 193.2 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.3795, allocations: 459 kB / 1.37 GB, free: 6.195 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.3803, allocations: 0.6873 MB / 1.371 GB, free: 5.395 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3803, allocations: 8 kB / 1.371 GB, free: 5.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001288/0.3816, allocations: 0.8021 MB / 1.372 GB, free: 4.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3816, allocations: 8 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3816, allocations: 11.94 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/0.3821, allocations: 160.2 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.3826, allocations: 119.8 kB / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.386, allocations: 4.046 MB / 1.376 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3864, allocations: 31.97 kB / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.3864, allocations: 32 kB / 1.376 GB, free: 15.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.3867, allocations: 217.4 kB / 1.376 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.3868, allocations: 63.62 kB / 1.376 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3879, allocations: 0.6048 MB / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3879, allocations: 4 kB / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3879, allocations: 0 / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3879, allocations: 0 / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3897, allocations: 1.233 MB / 1.378 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3897, allocations: 3.938 kB / 1.378 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.39, allocations: 55.89 kB / 1.378 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.3904, allocations: 144.3 kB / 1.378 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.3904, allocations: 8 kB / 1.378 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.3938, allocations: 4.029 MB / 1.382 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3938, allocations: 160 / 1.382 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3949, allocations: 0.7079 MB / 1.383 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.3951, allocations: 99.53 kB / 1.383 GB, free: 8.109 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.3951, allocations: 15.92 kB / 1.383 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3954, allocations: 19.97 kB / 1.383 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3955, allocations: 31.89 kB / 1.383 GB, free: 8.043 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3955, allocations: 16 kB / 1.383 GB, free: 8.027 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003735/0.3959, allocations: 330.8 kB / 1.383 GB, free: 7.707 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 0 / 1.383 GB, free: 7.707 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006362/0.3965, allocations: 144 kB / 1.383 GB, free: 7.566 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.3979, allocations: 1.247 MB / 1.385 GB, free: 6.254 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.3992, allocations: 0.8663 MB / 1.385 GB, free: 5.344 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3992, allocations: 4 kB / 1.385 GB, free: 5.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.4, allocations: 0.5725 MB / 1.386 GB, free: 4.723 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.401, allocations: 207.5 kB / 1.386 GB, free: 4.527 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.4075, allocations: 5.112 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.408, allocations: 0.9019 MB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.4084, allocations: 113.3 kB / 1.392 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4086, allocations: 195.4 kB / 1.392 GB, free: 13.79 MB / 1.092 GB Notification: Performance of SimCode: time 7.11e-07/0.4086, allocations: 0 / 1.392 GB, free: 13.79 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.4519, allocations: 13.25 MB / 1.405 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.62, allocations: 5.375 kB / 1.405 GB, free: 0.8086 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 19.38731577200815]