Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001573/0.001573, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001708/0.001708, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.145/3.145, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.002045/0.002045, allocations: 73.02 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3036, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006461/0.31, allocations: 4.351 MB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.3141, allocations: 2.443 MB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.3144, allocations: 23.75 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.3155, allocations: 377.4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008535/0.3164, allocations: 386.2 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.3171, allocations: 315.2 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.318, allocations: 0.6827 MB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.3184, allocations: 222.2 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.3188, allocations: 259.1 kB / 1.33 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.3191, allocations: 282.8 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.3192, allocations: 32 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/0.3199, allocations: 439 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3201, allocations: 151.5 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3203, allocations: 246.7 kB / 1.331 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.3212, allocations: 0.7199 MB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3212, allocations: 3.938 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3212, allocations: 7.984 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.3213, allocations: 0 / 1.331 GB, free: 8.434 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001282/0.3225, allocations: 0.8057 MB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3226, allocations: 15.98 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.354e-05/0.3227, allocations: 78.69 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.3241, allocations: 184.4 kB / 1.332 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.3247, allocations: 436.8 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.3247, allocations: 21.38 kB / 1.333 GB, free: 6.805 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.3248, allocations: 48.3 kB / 1.333 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.3258, allocations: 0.6469 MB / 1.334 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3258, allocations: 7.938 kB / 1.334 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.3258, allocations: 15.94 kB / 1.334 GB, free: 6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.3259, allocations: 59.89 kB / 1.334 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/0.3267, allocations: 0.4932 MB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.3302, allocations: 3.783 MB / 1.338 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.332, allocations: 0.6207 MB / 1.338 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3323, allocations: 158.5 kB / 1.339 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3323, allocations: 11.98 kB / 1.339 GB, free: 0.582 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3323, allocations: 38.5 kB / 1.339 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.3323, allocations: 0 / 1.339 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002428/0.3348, allocations: 1.29 MB / 1.34 GB, free: 15.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3348, allocations: 106.8 kB / 1.34 GB, free: 15.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.3353, allocations: 397.8 kB / 1.34 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3353, allocations: 33.7 kB / 1.34 GB, free: 14.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3355, allocations: 288.1 kB / 1.341 GB, free: 14.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3356, allocations: 123.5 kB / 1.341 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3358, allocations: 102.2 kB / 1.341 GB, free: 14.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3359, allocations: 354.7 kB / 1.341 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3362, allocations: 177 kB / 1.341 GB, free: 13.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.3366, allocations: 371.3 kB / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.3374, allocations: 0.599 MB / 1.342 GB, free: 12.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3374, allocations: 7.938 kB / 1.342 GB, free: 12.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001175/0.3386, allocations: 0.6715 MB / 1.343 GB, free: 11.72 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3386, allocations: 8.125 kB / 1.343 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3386, allocations: 12 kB / 1.343 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.339, allocations: 94.44 kB / 1.343 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3394, allocations: 111.8 kB / 1.343 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/0.3434, allocations: 4.34 MB / 1.347 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3438, allocations: 32.08 kB / 1.348 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.3438, allocations: 27.98 kB / 1.348 GB, free: 6.668 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002527/0.3441, allocations: 207.8 kB / 1.348 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3442, allocations: 47.72 kB / 1.348 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.3451, allocations: 0.5191 MB / 1.348 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3452, allocations: 4 kB / 1.348 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3452, allocations: 4 kB / 1.348 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3452, allocations: 0 / 1.348 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.347, allocations: 1.287 MB / 1.35 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3471, allocations: 0 / 1.35 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.3473, allocations: 67.89 kB / 1.35 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.3476, allocations: 86.8 kB / 1.35 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3476, allocations: 12 kB / 1.35 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.3513, allocations: 4.348 MB / 1.354 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3513, allocations: 4.031 kB / 1.354 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3523, allocations: 0.7902 MB / 1.355 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.3525, allocations: 152.8 kB / 1.355 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.3526, allocations: 12 kB / 1.355 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.3529, allocations: 19.97 kB / 1.355 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.353, allocations: 43.84 kB / 1.355 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.353, allocations: 8 kB / 1.355 GB, free: 14.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003351/0.3533, allocations: 283.1 kB / 1.355 GB, free: 14.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3533, allocations: 0 / 1.355 GB, free: 14.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006893/0.354, allocations: 120 kB / 1.355 GB, free: 14.06 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.00129/0.3553, allocations: 1.331 MB / 1.357 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3566, allocations: 0.7779 MB / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3566, allocations: 0 / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.3574, allocations: 0.5363 MB / 1.358 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.3583, allocations: 135.7 kB / 1.358 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/0.3643, allocations: 4.553 MB / 1.363 GB, free: 6.242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.3649, allocations: 0.8624 MB / 1.363 GB, free: 5.352 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.3653, allocations: 108.5 kB / 1.363 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.3655, allocations: 151.4 kB / 1.364 GB, free: 5.098 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.3655, allocations: 4 kB / 1.364 GB, free: 5.094 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/0.4291, allocations: 10.1 MB / 1.373 GB, free: 11.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 8.047 kB / 1.373 GB, free: 11.19 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.29957350715995]