Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000781/0.000781, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004683/0.004683, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 443.4 MB / 0.7176 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 16.33 kB / 0.8797 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 155.2 MB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003222/0.2333, allocations: 2.905 MB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.235, allocations: 1.348 MB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.2351, allocations: 7.938 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2353, allocations: 35.7 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.2356, allocations: 139.4 kB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.2359, allocations: 146.8 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.2363, allocations: 454.7 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.2366, allocations: 249.1 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2368, allocations: 111.5 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.237, allocations: 143.4 kB / 1.037 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.237, allocations: 12 kB / 1.037 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.2373, allocations: 207.6 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.2374, allocations: 71.8 kB / 1.037 GB, free: 14.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2375, allocations: 133.1 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2378, allocations: 354.8 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2379, allocations: 0 / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2379, allocations: 0 / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2379, allocations: 0 / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006486/0.2385, allocations: 0.5069 MB / 1.038 GB, free: 13.4 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2386, allocations: 8.031 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.2386, allocations: 62.67 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.2392, allocations: 80.58 kB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2394, allocations: 255.8 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2394, allocations: 16.81 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.2395, allocations: 16.38 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.2399, allocations: 316.4 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2399, allocations: 4 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.24, allocations: 19.98 kB / 1.039 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.24, allocations: 20.42 kB / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.2404, allocations: 217.5 kB / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2417, allocations: 1.49 MB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.2421, allocations: 207.7 kB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.2422, allocations: 52.77 kB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2422, allocations: 3.984 kB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2422, allocations: 30.56 kB / 1.041 GB, free: 10.35 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2422, allocations: 8 kB / 1.041 GB, free: 10.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000495/0.2427, allocations: 263.3 kB / 1.041 GB, free: 10.05 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2428, allocations: 59.41 kB / 1.041 GB, free: 9.984 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2429, allocations: 207.7 kB / 1.041 GB, free: 9.773 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.243, allocations: 29.7 kB / 1.041 GB, free: 9.738 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.2431, allocations: 167.6 kB / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2431, allocations: 35.55 kB / 1.041 GB, free: 9.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.2431, allocations: 21.7 kB / 1.041 GB, free: 9.508 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.2432, allocations: 326.8 kB / 1.042 GB, free: 9.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.2433, allocations: 43.97 kB / 1.042 GB, free: 9.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2435, allocations: 114 kB / 1.042 GB, free: 8.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.2437, allocations: 168.4 kB / 1.042 GB, free: 8.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2437, allocations: 4 kB / 1.042 GB, free: 8.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003464/0.244, allocations: 210.1 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2441, allocations: 4 kB / 1.042 GB, free: 8.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2441, allocations: 4 kB / 1.042 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.2442, allocations: 33.06 kB / 1.042 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2443, allocations: 43.91 kB / 1.042 GB, free: 8.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008579/0.2452, allocations: 1.342 MB / 1.044 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2454, allocations: 19.84 kB / 1.044 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2454, allocations: 8 kB / 1.044 GB, free: 6.992 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2455, allocations: 145.8 kB / 1.044 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2455, allocations: 23.83 kB / 1.044 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.2456, allocations: 25.44 kB / 1.044 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2456, allocations: 0 / 1.044 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2456, allocations: 4 kB / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2456, allocations: 0 / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.2461, allocations: 491.1 kB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2461, allocations: 0 / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.2462, allocations: 16 kB / 1.044 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-05/0.2463, allocations: 20.84 kB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2463, allocations: 7.984 kB / 1.044 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.2471, allocations: 1.327 MB / 1.046 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2471, allocations: 0 / 1.046 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.2474, allocations: 244.2 kB / 1.046 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.2475, allocations: 104.8 kB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2475, allocations: 0 / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2476, allocations: 7.938 kB / 1.046 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2477, allocations: 7.984 kB / 1.046 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2477, allocations: 8 kB / 1.046 GB, free: 4.344 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001119/0.2478, allocations: 149.5 kB / 1.046 GB, free: 4.199 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2478, allocations: 0 / 1.046 GB, free: 4.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000296/0.2481, allocations: 55.84 kB / 1.046 GB, free: 4.145 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004759/0.2486, allocations: 0.7716 MB / 1.047 GB, free: 3.344 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.2489, allocations: 234.6 kB / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.249, allocations: 0 / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2492, allocations: 171.1 kB / 1.047 GB, free: 2.922 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2495, allocations: 33.67 kB / 1.047 GB, free: 2.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2516, allocations: 2.261 MB / 1.049 GB, free: 496 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2518, allocations: 0.7557 MB / 1.05 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.456e-05/0.2519, allocations: 25.53 kB / 1.05 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.252, allocations: 59.41 kB / 1.05 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.252, allocations: 4 kB / 1.05 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3279/0.58, allocations: 3.653 MB / 1.054 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.5802, allocations: 232 kB / 1.054 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.321, allocations: 0 / 1.054 GB, free: 11.89 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches